package com.hy.fangZhou.iot;


import com.hy.fbox.ServerCaller;

import java.net.InetSocketAddress;
import java.net.Proxy;
import java.util.UUID;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Global {
    //    public static Proxy proxy = null;
//    配置流量过Fiddler代理
    public static Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("127.0.0.1", 8888));
    public static ExecutorService threadPool = Executors.newCachedThreadPool();
    public static ServerCaller commServer;
    public static ServerCaller appServer;
    public static ServerCaller hdataServer;

    // 以下服务器地址是繁易公有云，私有云请根据实际情况修改3
    public static final String idServerUrl = "http://account.hyjtyl.com/core/";
    public static String appServerApiUrl = "http://app.hyjtyl.com/";
    public static final String commServerApiUrl = "http://cs.hyjtyl.com/api/";//[apiBaseUrl]
    public static final String commServerSignalRUrl = "http://cs.hyjtyl.com/push/";
    public static String hdataServerApiUrl = "http://hs.hyjtyl.com/api/";
    public static String signalrClientId = UUID.randomUUID().toString();

    public static String username = "hyzn_wyh";
    public static String password = "Wyh@123";
    // 获取API账号请咨询商务。
    public static String clientId = "FboxMobile";
    public static String clientSecret = "35f8b66cb87a4de893f6ebdd6d044f28";

    public static final String ENV="boxIds";
}
